﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WikiPlacer.HAL
{
    interface IRobot
    {
        /// <summary>
        /// Emergency stop robot
        /// </summary>
        void EStop();

        /// <summary>
        /// Cause the robot to follow a given path
        /// </summary>
        /// <param name="p"></param>
        void FollowPath(Path p, PathExecutionMode mode);

        //Vector3 Position

        //events:
        //segment completed
        //path completed
        //position changed
        //Fault
    }
}

/// <summary>
/// Defines how the path is executed
/// </summary>
public enum PathExecutionMode
{
    Continuous,     // come to a stop only at end of path
    PointToPoint    // come to a stop at each segment waypoint
}